#ifndef MUTEX_H_
#define MUTEX_H_

#include "pthread.h"

class ConditionVariable;

class Mutex {
private:
	pthread_mutex_t m;
	friend class ConditionVariable;

public:
	Mutex();
	void lock();
	void unlock();
	virtual ~Mutex();
};

#endif /* MUTEX_H_ */
